﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using WfhTrader.Core.Trading;

namespace WfhTrader.Core.Quote
{
    /// <summary>
    /// 表示行情最新价格的类
    /// </summary>
    public class QuoteData
    {
        /// <summary>
        /// 市场类型
        /// </summary>
        public MarketType MarketType { get; set; }

        /// <summary>
        /// 代码（股票代码，期货合约代码等）
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 最新价格
        /// </summary>
        public double Price { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
